﻿@using GoodMan.Infrastructure.Entities.Entity;
@using GoodMan.Infrastructure.Entities.Enum;
@{
    ViewBag.Title = "人员信息";
    Layout = "~/Areas/WorkSpace/Views/Shared/_StaffTemplete.cshtml";
    GoodMan.Infrastructure.Entities.Entity.User userModel = ViewBag.User;
}




@section head{
    <style type="text/css">
        .nav .active
        {
            /*background: url(<?php echo $this->img('manage_r2_c13.jpg');?>) no-repeat;*/
            background-color: #F5F5F5;
        }
        .nav .other
        {
            /* background: url(<?php echo $this->img('manage_r2_c14.jpg');?>) no-repeat;*/
            background-color: #E9E9E9;
        }
        h2.nav
        {
            border-bottom: 1px solid #B4C9C6;
            font-size: 13px;
            height: 25px;
            line-height: 25px;
            margin-top: 0px;
            margin-bottom: 0px;
        }
        h2.nav a
        {
            color: #999999;
            display: block;
            float: left;
            height: 24px;
            width: 113px;
            text-align: center;
            margin-right: 1px;
            margin-left: 1px;
            cursor: pointer;
        }
    </style>
}
<div id="content-header">
    <h1>
        详细信息</h1>
</div>
<div id="breadcrumb">
    <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>首页</a>
    <a href="/workspace/Staff/UserInfoList?page=@ViewBag.page" class="tip-bottom">人员管理</a> <a href="/workspace/Staff/UserInfoList?page=@ViewBag.page" class="current">
        人员信息</a> <a href="#" class="current">@userModel.UserName</a>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
                    <span class="icon"><i class="icon-align-justify"></i></span>
                    <h5>
                        详细信息</h5>
                </div>
                <div class="widget-content nopadding">
                @{
                    if (userModel != null)
                    {
                    <form action="#" method="post" name="regform" class="form-horizontal">
                    <div id="tab1">
                        <div class="control-group">
                            <label class="control-label">
                                角色(*)</label>
                            <div class="controls">
                               @userModel.SystemRole.Mapping()
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                账 户(*)</label>
                            <div class="controls">
                            @userModel.UserName
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label">
                                真实姓名 (*)</label>
                            <div class="controls">
                                @userModel.RealName
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                昵称</label>
                            <div class="controls">
                            @userModel.NickName
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                性别(*)</label>
                            <div class="controls">
                                @userModel.Gender.Mapping()
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                身份证号</label>
                            <div class="controls">
                                @userModel.IdCardNo
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                联系电话</label>
                            <div class="controls">
                            @userModel.Phone
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                QQ</label>
                            <div class="controls">
                            @userModel.QQ
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                状态</label><input type="hidden" id="IsRefuse" name="IsRefuse" value="1" />
                            <div class="controls">
                                @{
                        if (userModel.IsRefuse)
                        { <label>正常</label>}
                        else
                        {
                            <label>禁止</label>
                        }
                    }
                            </div>
                        </div>
                    </div>
                    <div>                     
                        <div class="form-actions">
                            <a href="/workspace/Staff/registeruserinfolist?page=@ViewBag.page"  class="btn btn-primary btn-mini">返回</a><a href="">
                            
                        </div>
                    </div>
                    </form>
                    }
                    }
                </div>
            </div>
        </div>
    </div>
</div>
@section tail{
    <script type="text/javascript">
        $(function () {
            $('#likUser').addClass('open');
            $('#likUser').addClass('active');
        });
    </script>
}
